<?php
/*------------------------------------------------------ */
//-- 微信直播商品库
//-- @author iqgmy
/*------------------------------------------------------ */

namespace app\live\model;

use app\BaseModel;
use think\facade\Cache;

class LiveGoodsModel extends BaseModel
{
    protected $table = 'live_goods';
    public $pk = 'id';
    public $errorCode = ["-1"=>"系统错误","1003"=>"商品id不存在","47001"=>"入参格式不符合规范","200002"=>"入参错误","300001"=>"禁止创建/更新商品（如：商品创建功能被封禁）","300002"=>"名称长度不符合规则","300003"=>"价格输入不合规（如：现价比原价大、传入价格非数字等）","300004"=>"商品名称存在违规违法内容","300005"=>"商品图片存在违规违法内容","300006"=>"图片上传失败（如：mediaID过期）","300007"=>"线上小程序版本不存在该链接","300008"=>"添加商品失败","300009"=>"商品审核撤回失败","300010"=>"商品审核状态不对（如：商品审核中）","300011"=>"操作非法（API不允许操作非API创建的商品）","300012"=>"没有提审额度（每天500次提审额度）","300013"=>"提审失败","300014"=>"审核中，无法删除（非零代表失败）","300017"=>"商品未提审","300021"=>"商品添加成功，审核失败"];
    public $priceType = ['1'=>'一口价','2'=>'价格区间','3'=>'显示折扣价'];



}

?>